﻿Imports System.Runtime.CompilerServices

Module Extensions

''' <summary>
''' Extends a Silverlight Application to provide simpler syntax for getting reference to the NavFx Navigator
''' </summary>
''' <param name="app">Silverlight Application being extended</param>
''' <returns>Reference to NavFx Navigator or null if IAppliation is not implemented</returns>
<Extension()> Sub WriteOutput(ByVal app As System.Windows.Application, ByVal output As String)
	CType(Application.Current.RootVisual, Shell).WriteOutput(output)
End Sub

End Module
